import { PageHeader } from 'antd';
import React from 'react';
import useMinHeight from "../components/hook/MinHeightHook";
import Users from '../views/users/Users';

const UsersPage = () => {
  const minHeight = useMinHeight();

  return (
    <div style={{ minHeight }}>
      <PageHeader
        title="用户管理"
        avatar={{ icon: 'user', style: { color: '#f56a00', backgroundColor: '#fde3cf' } }}
      />
      <Users />
    </div>
  );
};

export default UsersPage;
